package com.pacy.pacybaseproject.activitys;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.gyf.immersionbar.ImmersionBar;
import com.pacy.pacybaseproject.BR;
import com.pacy.pacybaseproject.MainActivity;
import com.pacy.pacybaseproject.R;
import com.pacy.pacybaseproject.base.BaseXActivity;
import com.pacy.pacybaseproject.databinding.ActivityMsgDetailBinding;
import com.pacy.pacybaseproject.viewmodels.MsgDetailViewModel;

import java.util.ArrayList;
import java.util.List;

import me.goldze.mvvmhabit.views.bottombar.BottomBarTab;
import me.goldze.mvvmhabit.views.bottombar.BottomCheckBar;

/**
 * 消息详情
 */
public class MsgDetailActivity extends BaseXActivity<ActivityMsgDetailBinding, MsgDetailViewModel> {
    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_msg_detail;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
        setToolbar(binding.baseToolBar);
        viewModel.position=getIntent().getExtras().getInt("position");
        viewModel.title.setValue(getIntent().getExtras().getString("title"));
        viewModel.time.setValue(getIntent().getExtras().getString("time"));
    }

}